package com.smartleanx.module.hrm.dal.mysql.esign;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smartleanx.framework.tenant.core.aop.TenantIgnore;
import com.smartleanx.module.hrm.dal.dataobject.esign.ElecCorp;
import com.smartleanx.module.hrm.service.esign.bo.ElecCorpSelectBo;
import com.smartleanx.module.hrm.service.esign.vo.ElecCorpDetailVo;
import com.smartleanx.module.hrm.service.esign.vo.ElecCorpSelectVo;
import com.smartleanx.module.hrm.service.esign.vo.TenantSelectOrgVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yanglihao
 */
@Mapper
public interface ElecCorpMapper extends BaseMapper<ElecCorp> {


    List<ElecCorpSelectVo> selectElecCorpPageList(ElecCorpSelectBo param);

    List<ElecCorpSelectVo> selectElecCorpList(ElecCorpSelectBo param);

    List<JSONObject> selectIdNameList();
    @TenantIgnore
    ElecCorpDetailVo selectElecCorpDetail(@Param("corpId") long corpId);

    List<TenantSelectOrgVo> selectElecCorpSelectList();





}
